<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class SlinksAmfServer</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> SlinksAmfServer</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
                <p class="implements">
            Implements interfaces:
            <ul>
                <li><a href="../default/ContainerAwareInterface.html">ContainerAwareInterface</a></li>            </ul>
        </p>
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">This class overrides the default Zend_Amf_Server  to support exposing of php service with the RemoteMethod annotation.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Navid Mitchell</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_slinks---extensionsx---amf---zend---SlinksAmfServer.php.html">/slinks/extensionsx/amf/zend/SlinksAmfServer.php</a> (line <span class="field">16</span>)
		</p>
		
				
		<pre>\
   |
   --SlinksAmfServer</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																																<div class="method-definition">
					<img src="../media/images/Constructor.png" alt=" "/>
											<span class="method-result">SlinksAmfServer</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$proxyDoctrineCollections</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#addRemoteMethods" title="details" class="method-name">addRemoteMethods</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$serviceMethodNames</span>)
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#prepareServer" title="details" class="method-name">prepareServer</a>
										()
									</div>
																<div class="method-definition">
					<img src="../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#setContainer" title="details" class="method-name">setContainer</a>
											([<span class="var-type"><a href="../default/ContainerInterface.html">ContainerInterface</a></span>&nbsp;<span class="var-name">$container</span> = <span class="var-default">null</span>])
									</div>
											</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
													<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Constructor.png" />
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">26</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	
	<div class="method-signature">
		<span class="method-result">SlinksAmfServer</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">boolean</span>&nbsp;<span class="var-name">$proxyDoctrineCollections</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">boolean</span>
				<span class="var-name">$proxyDoctrineCollections</span><span class="var-description">: if true then all doctrine collections will be proxied to support lazy loading from the amf client</span>			</li>
				</ul>
		
			
	</div>
<a name="methodaddRemoteMethods" id="addRemoteMethods"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">addRemoteMethods</span> (line <span class="line-number">40</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds a Service method as being available for use by remote clients.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addRemoteMethods
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$serviceName</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$serviceMethodNames</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$serviceName</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$serviceMethodNames</span><span class="var-description">: an array of method names that can be called for the given service.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprepareServer" id="prepareServer"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">prepareServer</span> (line <span class="line-number">55</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Must be called after all calls to addRemoteMethods. This allows needed post procesing to be performed.</p>
<p class="description"><p>I have elected to do this to improve performance versus doing this every time addRemoteMethods is called.  This is ok since this class shoul only be used by our extension.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			prepareServer
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodsetContainer" id="setContainer"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../media/images/Method.png" />
		<span class="method-title">setContainer</span> (line <span class="line-number">65</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the Container.</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setContainer
		</span>
					([<span class="var-type"><a href="../default/ContainerInterface.html">ContainerInterface</a></span>&nbsp;<span class="var-name">$container</span> = <span class="var-default">null</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/ContainerInterface.html">ContainerInterface</a></span>
				<span class="var-name">$container</span><span class="var-description">: A ContainerInterface instance</span>			</li>
				</ul>
		
				<hr class="separator" />
		<div class="notes">Implementation of:</div>
			<dl>
			<dt><a href="../default/ContainerAwareInterface.html#methodsetContainer">ContainerAwareInterface::setContainer()</a></dt>
						<dd>Sets the Container.</dd>
					</dl>
			
	</div>
						
		</div>
	</div>

	
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Jul 2011 00:29:05 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>